{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <form action="{:request()->url()}" class="layui-form" method="post">

            <div class="layui-form-item">
                <label class="layui-form-label">指定用户</label>
                <div class="layui-input-block">
                    <select name="user_id" lay-search>
                        <option value="0">全员发送</option>
                        {foreach name="user" item="v"}
                        <option value="{$v.id}">{$v.nickname}</option>
                        {/foreach}
                    </select>
                </div>
            </div>

            
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="i" lay-submit="">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}